$(document).on('pagebeforeshow', '#pagina6', function (event) {
    //$(".menu").fadeOut(300);
    TweenLite.to(".menu", 0.5, {alpha:1});
    $("video").css({"display":"none"});
    $("#icoPg1").removeClass('active');
    $("#icoPg2").removeClass('active');
    $("#icoPg3").removeClass('active');
    $("#icoPg3").toggleClass('active').siblings().removeClass('active');
    $("#icoPg3").removeClass('active');
    $("#icoPg6").removeClass('active');
    $("#icoPg7").removeClass('active');
   
    paginaAtual =6;
    grid.defineGrid(paginaAtual);

});

$(document).on('pageshow', '#pagina6', function (event) {
    podeVirar();
    $('.questao').click(mostraDetalhes);
   
    //$("#bgBaixo").animate({ bottom: -110 }, 1500);
     TweenLite.to("#bgBaixo", 1.5, {bottom:"-110"});

});

$(document).on('pagebeforehide', '#pagina6', function (event) {
    TweenLite.to("#bgBaixo", 0.5, {bottom:"-255"});
});


